package org.libraq.basic.util;

import lombok.Data;
import org.libraq.org.domain.Department;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageList<T> {
    private List<T> data = new ArrayList<T>();
    private Long total = 0L;

    public PageList(List<T> data, Long total) {
        this.data = data;
        this.total = total;
    }

    public PageList() {
    }
}
